/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package teste;

import br.ifrr.gepro.estoria.bean.EstoriasBean;
import br.ifrr.gepro.sprint.bean.SprintBean;
import br.ifrr.gepro.sprint.dao.SprintDao;
import br.ifrr.gepro.util.DAOException;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author rafael
 */
public class Sprint {

    public static void main(String[] args) throws DAOException {
        SprintBean sprint = new SprintBean(8);
        EstoriasBean estoria = new EstoriasBean(1);

        List lista = new ArrayList();
        
        lista.add(estoria);
        
        sprint.setEstoriaBeanCollection(lista);
        
        new SprintDao().alterar(sprint); 
       
    }
}
